package com.wangjw.springbootdemo.service;

import com.wangjw.springbootdemo.pojo.SysUser;

import java.util.List;

/**
 * Created by wangjw on 18/5/29.
 */
public interface IUserService {

    void saveUser(SysUser user) throws Exception;

    void updateUser(SysUser user);

    void deleteUser(String userId);

    SysUser queryUserById(String userId);

    List<SysUser> queryListPaged(Integer page, Integer pageSize);

    void saveUserTransactional(SysUser user);
}
